package com.fast.alden.data.model;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Lob;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * 通知公告
 */
@Getter
@Setter
@Entity
public class SysNotice extends BaseEntity {
    /**
     * 标题
     */
    private String title;
    /**
     * 内容
     */
    @Lob
    @Column(columnDefinition = "text")
    private String content;
    /**
     * 是否已发布
     */
    private Boolean published;
    /**
     * 发布时间
     */
    private LocalDateTime publishedTime;
}
